
import VueRouter from 'vue-router'
import home from './components/hom.vue'
import contact from './components/contact.vue'
import shopcar from './components/shopcar.vue'
import search from './components/search.vue'

var router = new VueRouter({
    routes:[
        {path:'/', redirect:'/home' },
        {path:'/home', component: home},
        {path:'/contact', component: contact},
        {path:'/shopcar', component: shopcar},
        {path:'/search', component: search},
    ],
    linkActiveClass:'mui-active'
})

export default router;

